<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: wow.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a03752.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">rtl/wow.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="a03752_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:ae70f704d878569b05a5d6444ca9a205b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#ae70f704d878569b05a5d6444ca9a205b">ClientSharedInfo</a>()&#160;&#160;&#160;(&amp;<a class="el" href="a00941.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>)</td></tr>
<tr class="separator:ae70f704d878569b05a5d6444ca9a205b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a493173a256e4fa4cc2258017213562e3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#a493173a256e4fa4cc2258017213562e3">ServerInfo</a>()&#160;&#160;&#160;(<a class="el" href="a03728.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>)</td></tr>
<tr class="separator:a493173a256e4fa4cc2258017213562e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c8298e10b2f13e7840418fc4617f327"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#a5c8298e10b2f13e7840418fc4617f327">LPPOINTWOW</a>&#160;&#160;&#160;LPPOINT</td></tr>
<tr class="separator:a5c8298e10b2f13e7840418fc4617f327"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad08f09e76f4ec6ab80af53ef3bcf17ae"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#ad08f09e76f4ec6ab80af53ef3bcf17ae">NORMALIZEDSHORTVALUE</a>(x)&#160;&#160;&#160;(x)</td></tr>
<tr class="separator:ad08f09e76f4ec6ab80af53ef3bcf17ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0540249a4bbf9fe1141b5ce99bf0b53"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#ad0540249a4bbf9fe1141b5ce99bf0b53">WOWlstrlenA</a>(x)&#160;&#160;&#160;lstrlenA(x)</td></tr>
<tr class="separator:ad0540249a4bbf9fe1141b5ce99bf0b53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a294c3af1d96bf9dc84ab4549feffcb2c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#a294c3af1d96bf9dc84ab4549feffcb2c">WOWRtlCopyMemory</a>(lpDest,  lpSrc,  cb)&#160;&#160;&#160;RtlCopyMemory(lpDest, lpSrc, cb)</td></tr>
<tr class="separator:a294c3af1d96bf9dc84ab4549feffcb2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0303ac38c465c4b76ceba5b4cc7604f0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#a0303ac38c465c4b76ceba5b4cc7604f0">DESKTOPVALIDATE</a>(pobj)</td></tr>
<tr class="separator:a0303ac38c465c4b76ceba5b4cc7604f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2513158b79e25bdf6af78fd24b74950"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#ac2513158b79e25bdf6af78fd24b74950">ValidateHandleMacro</a>(h,  bType)</td></tr>
<tr class="separator:ac2513158b79e25bdf6af78fd24b74950"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a84614f49bd39185e6ca3a3ccf5afd248"><td class="memItemLeft" align="right" valign="top">PVOID FASTCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#a84614f49bd39185e6ca3a3ccf5afd248">HMValidateHandle</a> (HANDLE h, BYTE bType)</td></tr>
<tr class="separator:a84614f49bd39185e6ca3a3ccf5afd248"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af99b53fa5d4f19dbabbed9d750e365ef"><td class="memItemLeft" align="right" valign="top">PVOID FASTCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#af99b53fa5d4f19dbabbed9d750e365ef">HMValidateHandleNoRip</a> (HANDLE h, BYTE bType)</td></tr>
<tr class="separator:af99b53fa5d4f19dbabbed9d750e365ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a600b2eecb3e014ccef3cbdb2b38209b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00365.html#ab0258112d5896d2fea97153725ae601f">PITEM</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#a600b2eecb3e014ccef3cbdb2b38209b5">MNLookUpItem</a> (<a class="el" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a> pMenu, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> wCmd, BOOL fByPosition, <a class="el" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a> *ppMenuItemIsOn)</td></tr>
<tr class="separator:a600b2eecb3e014ccef3cbdb2b38209b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf2526934d05c7caafc5e718e432ec3a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#aaf2526934d05c7caafc5e718e432ec3a">_GetMenuState</a> (<a class="el" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a> pMenu, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> wId, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> dwFlags)</td></tr>
<tr class="separator:aaf2526934d05c7caafc5e718e432ec3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a026fe41511bfcaaa930e906577c297d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#a026fe41511bfcaaa930e906577c297d5">GetPrevPwnd</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwndList, <a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwndFind)</td></tr>
<tr class="separator:a026fe41511bfcaaa930e906577c297d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a976181f00e2ce3d0df4b770ea93f8443"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#a976181f00e2ce3d0df4b770ea93f8443">_GetWindow</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> cmd)</td></tr>
<tr class="separator:a976181f00e2ce3d0df4b770ea93f8443"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af410034cb874987b4a6d0be215362e6a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#af410034cb874987b4a6d0be215362e6a">_GetParent</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd)</td></tr>
<tr class="separator:af410034cb874987b4a6d0be215362e6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba13e2c42ad782876b82329b41921e4e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#aba13e2c42ad782876b82329b41921e4e">_GetSubMenu</a> (<a class="el" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a> pMenu, int nPos)</td></tr>
<tr class="separator:aba13e2c42ad782876b82329b41921e4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6d261d53f1b8bdcd4467f5bc1072066"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#ac6d261d53f1b8bdcd4467f5bc1072066">_IsChild</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwndParent, <a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd)</td></tr>
<tr class="separator:ac6d261d53f1b8bdcd4467f5bc1072066"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a947b12ae4cee30f52317573ebbe2488f"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#a947b12ae4cee30f52317573ebbe2488f">_IsWindowVisible</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd)</td></tr>
<tr class="separator:a947b12ae4cee30f52317573ebbe2488f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9adcce0ae7f3f1108645323a0d2be59d"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#a9adcce0ae7f3f1108645323a0d2be59d">_ClientToScreen</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, PPOINT ppt)</td></tr>
<tr class="separator:a9adcce0ae7f3f1108645323a0d2be59d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a373eb8782e10ebad75e466db8d01ebe0"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#a373eb8782e10ebad75e466db8d01ebe0">_GetClientRect</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, LPRECT prc)</td></tr>
<tr class="separator:a373eb8782e10ebad75e466db8d01ebe0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adaba75126494f33137e8ceab85dc13fd"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#adaba75126494f33137e8ceab85dc13fd">_GetWindowRect</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, LPRECT prc)</td></tr>
<tr class="separator:adaba75126494f33137e8ceab85dc13fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76a779f43c6f191cc7b24e787ac3c824"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03752.html#a76a779f43c6f191cc7b24e787ac3c824">_ScreenToClient</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, PPOINT ppt)</td></tr>
<tr class="separator:a76a779f43c6f191cc7b24e787ac3c824"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="ae70f704d878569b05a5d6444ca9a205b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae70f704d878569b05a5d6444ca9a205b">&#9670;&nbsp;</a></span>ClientSharedInfo</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ClientSharedInfo</td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td>&#160;&#160;&#160;(&amp;<a class="el" href="a00941.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00115">115</a> 行定义.</p>

</div>
</div>
<a id="a0303ac38c465c4b76ceba5b4cc7604f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0303ac38c465c4b76ceba5b4cc7604f0">&#9670;&nbsp;</a></span>DESKTOPVALIDATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define DESKTOPVALIDATE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pobj</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">                                                                \</div>
<div class="line">    PCLIENTINFO pci = GetClientInfo();                          \</div>
<div class="line">    if (pci-&gt;pDeskInfo &amp;&amp;                                       \</div>
<div class="line">            pobj &gt;= pci-&gt;pDeskInfo-&gt;pvDesktopBase &amp;&amp;            \</div>
<div class="line">            pobj &lt; pci-&gt;pDeskInfo-&gt;pvDesktopLimit) {            \</div>
<div class="line">        pobj = (PVOID)((PBYTE)pobj -                            \</div>
<div class="line">                pci-&gt;ulClientDelta);                            \</div>
<div class="line">    } <span class="keywordflow">else</span> {                                                    \</div>
<div class="line">        pobj = (PVOID)<a class="code" href="a00362.html#a5faa2257365c8afc643c6488dc44f618">NtUserCallOneParam</a>((<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)h,              \</div>
<div class="line">                SFI__MAPDESKTOPOBJECT);                         \</div>
<div class="line">        if ((pobj == NULL) || ((<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)pobj &gt; 0xC0000000))       \</div>
<div class="line">            return NULL;                                        \</div>
<div class="line">                                                                \</div>
<div class="line">    }</div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00154">154</a> 行定义.</p>

</div>
</div>
<a id="a5c8298e10b2f13e7840418fc4617f327"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c8298e10b2f13e7840418fc4617f327">&#9670;&nbsp;</a></span>LPPOINTWOW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LPPOINTWOW&#160;&#160;&#160;LPPOINT</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00122">122</a> 行定义.</p>

</div>
</div>
<a id="ad08f09e76f4ec6ab80af53ef3bcf17ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad08f09e76f4ec6ab80af53ef3bcf17ae">&#9670;&nbsp;</a></span>NORMALIZEDSHORTVALUE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define NORMALIZEDSHORTVALUE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">x</td><td>)</td>
          <td>&#160;&#160;&#160;(x)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00123">123</a> 行定义.</p>

</div>
</div>
<a id="a493173a256e4fa4cc2258017213562e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a493173a256e4fa4cc2258017213562e3">&#9670;&nbsp;</a></span>ServerInfo</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ServerInfo</td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td>&#160;&#160;&#160;(<a class="el" href="a03728.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00116">116</a> 行定义.</p>

</div>
</div>
<a id="ac2513158b79e25bdf6af78fd24b74950"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2513158b79e25bdf6af78fd24b74950">&#9670;&nbsp;</a></span>ValidateHandleMacro</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ValidateHandleMacro</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">h, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">bType&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00182">182</a> 行定义.</p>

</div>
</div>
<a id="ad0540249a4bbf9fe1141b5ce99bf0b53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0540249a4bbf9fe1141b5ce99bf0b53">&#9670;&nbsp;</a></span>WOWlstrlenA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WOWlstrlenA</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">x</td><td>)</td>
          <td>&#160;&#160;&#160;lstrlenA(x)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00124">124</a> 行定义.</p>

</div>
</div>
<a id="a294c3af1d96bf9dc84ab4549feffcb2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a294c3af1d96bf9dc84ab4549feffcb2c">&#9670;&nbsp;</a></span>WOWRtlCopyMemory</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WOWRtlCopyMemory</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">lpDest, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">lpSrc, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cb&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;RtlCopyMemory(lpDest, lpSrc, cb)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00125">125</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="a9adcce0ae7f3f1108645323a0d2be59d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9adcce0ae7f3f1108645323a0d2be59d">&#9670;&nbsp;</a></span>_ClientToScreen()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL _ClientToScreen </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PPOINT&#160;</td>
          <td class="paramname"><em>ppt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00725">725</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160;             {</div>
<div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;        <span class="keywordflow">if</span> (!TestWF(pwnd, WFVISIBLE))</div>
<div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;            <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;        <span class="keywordflow">if</span> (GETFNID(pwnd) == FNID_DESKTOP)</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;        pwnd = REBASEPWND(pwnd, spwndParent);</div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a03743_source.html#l00708">ClientToScreen()</a>, <a class="el" href="a00053_source.html#l00076">ComboBoxWndProcWorker()</a>, <a class="el" href="a00659_source.html#l00224">xxxQueryDropObject()</a>, <a class="el" href="a00833_source.html#l02005">xxxSBWndProc()</a>, <a class="el" href="a00800_source.html#l00741">xxxTrackInitSize()</a> , 以及 <a class="el" href="a00182_source.html#l01192">xxxTrackMouse()</a>.</p>

</div>
</div>
<a id="a373eb8782e10ebad75e466db8d01ebe0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a373eb8782e10ebad75e466db8d01ebe0">&#9670;&nbsp;</a></span>_GetClientRect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL _GetClientRect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPRECT&#160;</td>
          <td class="paramname"><em>prc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00745">745</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;         :</div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;* 11-12-90 darrinm      Translated from Win 3.0 ASM code.</div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;\***************************************************************************/</div>
<div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160; </div>
<div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;BOOL <a class="code" href="a03752.html#a9adcce0ae7f3f1108645323a0d2be59d">_ClientToScreen</a>(</div>
<div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;    <a class="code" href="a02581.html">PWND</a> pwnd,</div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;    PPOINT ppt)</div>
<div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;{</div>
<div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;    ppt-&gt;x += pwnd-&gt;<a class="code" href="a02581.html#a17d59d04094aef8b577c0aa781cdf2c6">rcClient</a>.left;</div>
<div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;    ppt-&gt;y += pwnd-&gt;<a class="code" href="a02581.html#a17d59d04094aef8b577c0aa781cdf2c6">rcClient</a>.top;</div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160; </div>
<div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;    <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;}</div>
<div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160; </div>
<div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160; </div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160; </div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;BOOL <a class="code" href="a03752.html#a373eb8782e10ebad75e466db8d01ebe0">_GetClientRect</a>(</div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;    <a class="code" href="a02581.html">PWND</a>   pwnd,</div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;    LPRECT prc)</div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;{</div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;<span class="comment">     * If this is a 3.1 app, and it&#39;s minimized, then we need to return</span></div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;<span class="comment">     * a rectangle other than the real-client-rect.  This is necessary since</span></div>
<div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;<span class="comment">     * there is no client-rect-size in Win4.0.  Apps such as PackRat 1.0</span></div>
<div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;<span class="comment">     * will GPF if returned a empty-rect.</span></div>
<div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, WFMINIMIZED) &amp;&amp; !TestWF(pwnd, WFWIN40COMPAT)) {</div>
<div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160; </div>
<div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;<span class="preprocessor">#ifdef WOW</span></div>
<div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;        *((LPDWORD)prc)    = 0l;</div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a00005_source.html#l00353">BNCalcRect()</a>, <a class="el" href="a00005_source.html#l01283">ButtonWndProcWorker()</a>, <a class="el" href="a00668_source.html#l00731">CenterWallpaper()</a>, <a class="el" href="a00185_source.html#l00060">ChopText()</a>, <a class="el" href="a00182_source.html#l00474">CItemInWindow()</a>, <a class="el" href="a00194_source.html#l00101">CItemInWindowVarOwnerDraw()</a>, <a class="el" href="a00041_source.html#l00555">DefWindowProcWorker()</a>, <a class="el" href="a00125_source.html#l02076">ECInvalidateClient()</a>, <a class="el" href="a00125_source.html#l01856">ECSetEditClip()</a>, <a class="el" href="a00122_source.html#l00488">ECSize()</a>, <a class="el" href="a00125_source.html#l02302">EditWndProc()</a>, <a class="el" href="a03743_source.html#l00731">GetClientRect()</a>, <a class="el" href="a03728_source.html#l00323">GetRealClientRect()</a>, <a class="el" href="a00182_source.html#l00821">ISelFromPt()</a>, <a class="el" href="a00188_source.html#l00025">LBCalcItemRowsAndColumns()</a>, <a class="el" href="a00194_source.html#l00198">LBCalcVarITopScrollAmt()</a>, <a class="el" href="a00182_source.html#l00177">LBGetItemRect()</a>, <a class="el" href="a00182_source.html#l00100">LBInitDC()</a>, <a class="el" href="a00194_source.html#l00157">LBPage()</a>, <a class="el" href="a00191_source.html#l00025">LBSetCItemFullMax()</a>, <a class="el" href="a00176_source.html#l00032">ListBoxWndProcWorker()</a>, <a class="el" href="a00200_source.html#l00585">MDICheckCascadeRect()</a>, <a class="el" href="a00128_source.html#l01622">MLPaint()</a>, <a class="el" href="a00128_source.html#l02569">MLScroll()</a>, <a class="el" href="a00833_source.html#l00849">SBCtlSetup()</a>, <a class="el" href="a00131_source.html#l01864">SLPaint()</a>, <a class="el" href="a00248_source.html#l00794">StaticWndProcWorker()</a>, <a class="el" href="a00668_source.html#l00658">TileWallpaper()</a>, <a class="el" href="a00005_source.html#l00707">xxxBNDrawText()</a>, <a class="el" href="a00005_source.html#l00313">xxxBNOwnerDraw()</a>, <a class="el" href="a00005_source.html#l01163">xxxBNPaint()</a>, <a class="el" href="a00005_source.html#l01118">xxxDrawButton()</a>, <a class="el" href="a00182_source.html#l00611">xxxLBoxCtlHScroll()</a>, <a class="el" href="a00182_source.html#l00707">xxxLBPaint()</a>, <a class="el" href="a00191_source.html#l00512">xxxLBSize()</a>, <a class="el" href="a00182_source.html#l01841">xxxNewITop()</a>, <a class="el" href="a00890_source.html#l00984">xxxPaintSwitchWindow()</a>, <a class="el" href="a00842_source.html#l02822">xxxSendSizeMessage()</a>, <a class="el" href="a00248_source.html#l00402">xxxStaticPaint()</a> , 以及 <a class="el" href="a00182_source.html#l01192">xxxTrackMouse()</a>.</p>

</div>
</div>
<a id="aaf2526934d05c7caafc5e718e432ec3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf2526934d05c7caafc5e718e432ec3a">&#9670;&nbsp;</a></span>_GetMenuState()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> _GetMenuState </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a>&#160;</td>
          <td class="paramname"><em>pMenu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>wId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>dwFlags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00431">431</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;                    {</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;        <span class="comment">// no non popup menu match found -- use the 2nd choice popup menu</span></div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;        <span class="comment">// match</span></div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;        <span class="keywordflow">if</span> (ppMenuItemIsOn != NULL)</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;            *ppMenuItemIsOn = pMenuMaybe;</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;        <span class="keywordflow">return</span>(pItemMaybe);</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;    }</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160; </div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;    <span class="keywordflow">return</span>(NULL);</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;}</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160; </div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160; </div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> <a class="code" href="a03752.html#aaf2526934d05c7caafc5e718e432ec3a">_GetMenuState</a>(</div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;    <a class="code" href="a02625.html">PMENU</a> pMenu,</div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> wId,</div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> dwFlags)</div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a03743_source.html#l00404">GetMenuState()</a>, <a class="el" href="a00671_source.html#l00553">xxxDWP_NCMouse()</a>, <a class="el" href="a00671_source.html#l00392">xxxDWP_SetCursor()</a>, <a class="el" href="a00875_source.html#l00025">xxxHandleNCMouseGuys()</a> , 以及 <a class="el" href="a00785_source.html#l00466">xxxMNLoop()</a>.</p>

</div>
</div>
<a id="af410034cb874987b4a6d0be215362e6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af410034cb874987b4a6d0be215362e6a">&#9670;&nbsp;</a></span>_GetParent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> _GetParent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00594">594</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;           :</div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;        <a class="code" href="a00371.html#ae61d954062a9ece52e350e54cad9a23d">RIPERR0</a>(ERROR_INVALID_GW_COMMAND, <a class="code" href="a00371.html#ad6b24a3d61abdc148c8751b5c5add686">RIP_VERBOSE</a>, <span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;        <span class="keywordflow">return</span> NULL;</div>
<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;    }</div>
<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160; </div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;    <span class="keywordflow">if</span> (pwndT != NULL &amp;&amp; fRebase)</div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;        pwndT = REBASEPTR(pwnd, pwndT);</div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160; </div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;    <span class="keywordflow">return</span> pwndT;</div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;}</div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160; </div>
<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160; </div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a03743_source.html#l00480">GetParent()</a> , 以及 <a class="el" href="a03275_source.html#l00079">xxxHelpLoop()</a>.</p>

</div>
</div>
<a id="aba13e2c42ad782876b82329b41921e4e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba13e2c42ad782876b82329b41921e4e">&#9670;&nbsp;</a></span>_GetSubMenu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a> _GetSubMenu </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a>&#160;</td>
          <td class="paramname"><em>pMenu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nPos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00628">628</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160;{</div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a00797_source.html#l00248">_GetSystemMenu()</a>, <a class="el" href="a03743_source.html#l00493">GetSubMenu()</a>, <a class="el" href="a00797_source.html#l00081">GetSysMenu()</a>, <a class="el" href="a00797_source.html#l00028">GetSysMenuHandle()</a>, <a class="el" href="a00197_source.html#l00165">MDIAddSysMenu()</a>, <a class="el" href="a00794_source.html#l00174">MNFreePopup()</a>, <a class="el" href="a00797_source.html#l00104">SetSysMenu()</a>, <a class="el" href="a03590_source.html#l00457">xxxMNKeyDown()</a> , 以及 <a class="el" href="a00761_source.html#l00095">xxxSetDialogSystemMenu()</a>.</p>

</div>
</div>
<a id="a976181f00e2ce3d0df4b770ea93f8443"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a976181f00e2ce3d0df4b770ea93f8443">&#9670;&nbsp;</a></span>_GetWindow()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> _GetWindow </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>cmd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00507">507</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;                             {</div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;        <span class="keywordflow">if</span> (pwndNext == pwndFind)</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;        pwndFound = pwndNext;</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;        pwndNext = REBASEPWND(pwndNext, spwndNext);</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;    }</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160; </div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;    <span class="keywordflow">return</span> (pwndNext == pwndFind) ? pwndFound : NULL;</div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;}</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160; </div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160; </div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160; </div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;<a class="code" href="a02581.html">PWND</a> <a class="code" href="a03752.html#a976181f00e2ce3d0df4b770ea93f8443">_GetWindow</a>(</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;    <a class="code" href="a02581.html">PWND</a> pwnd,</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> cmd)</div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;{</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;    <a class="code" href="a02581.html">PWND</a> pwndT;</div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;    BOOL fRebase = FALSE;</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160; </div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;<span class="comment">     * If this is a desktop window, return NULL for sibling or</span></div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;<span class="comment">     * parent information.</span></div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;    <span class="keywordflow">if</span> (GETFNID(pwnd) == FNID_DESKTOP) {</div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;        <span class="keywordflow">switch</span> (cmd) {</div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;        <span class="keywordflow">case</span> GW_CHILD:</div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160; </div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;        <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;            <span class="keywordflow">return</span> NULL;</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;        }</div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;    }</div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160; </div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;<span class="comment">     * Rebase the returned window at the end of the routine</span></div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;<span class="comment">     * to avoid multiple test for pwndT == NULL.</span></div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;    pwndT = NULL;</div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;    <span class="keywordflow">switch</span> (cmd) {</div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;    <span class="keywordflow">case</span> GW_HWNDNEXT:</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;        pwndT = pwnd-&gt;<a class="code" href="a02581.html#af729b7de7a8fb84b70b70c4b401ce789">spwndNext</a>;</div>
<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;        fRebase = TRUE;</div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160; </div>
<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;    <span class="keywordflow">case</span> GW_HWNDFIRST:</div>
<div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;        <span class="keywordflow">if</span> (pwnd-&gt;<a class="code" href="a02581.html#a6053af0b243b6737640988eb63081de3">spwndParent</a>) {</div>
<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;            pwndT = REBASEPWND(pwnd, spwndParent);</div>
<div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;            pwndT = REBASEPWND(pwndT, spwndChild);</div>
<div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="a00263.html#af0277284ad14b2b685eb0dcb1f506323">GetAppCompatFlags</a>(NULL) &amp; GACF_IGNORETOPMOST) {</div>
<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;                <span class="keywordflow">while</span> (pwndT != NULL) {</div>
<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;                    <span class="keywordflow">if</span> (!TestWF(pwndT, WEFTOPMOST))</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;                        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;                    pwndT = REBASEPWND(pwndT, spwndNext);</div>
<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;                }</div>
<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;            }</div>
<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;        }</div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160; </div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;    <span class="keywordflow">case</span> GW_HWNDLAST:</div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;        pwndT = <a class="code" href="a03752.html#a026fe41511bfcaaa930e906577c297d5">GetPrevPwnd</a>(pwnd, NULL);</div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160; </div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a00890_source.html#l00099">_GetNextQueueWindow()</a>, <a class="el" href="a03290_source.html#l01972">CheckOnTop()</a>, <a class="el" href="a00872_source.html#l03283">CheckTopmost()</a>, <a class="el" href="a03743_source.html#l00466">GetWindow()</a>, <a class="el" href="a00872_source.html#l00593">xxxCalcValidRects()</a> , 以及 <a class="el" href="a00200_source.html#l01243">xxxMDINext()</a>.</p>

</div>
</div>
<a id="adaba75126494f33137e8ceab85dc13fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adaba75126494f33137e8ceab85dc13fd">&#9670;&nbsp;</a></span>_GetWindowRect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL _GetWindowRect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPRECT&#160;</td>
          <td class="paramname"><em>prc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00794">794</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;{</div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a00599_source.html#l02424">_UserSoundSentryWorker()</a>, <a class="el" href="a03743_source.html#l00765">GetWindowRect()</a>, <a class="el" href="a00857_source.html#l00028">xxxSnapWindow()</a> , 以及 <a class="el" href="a00800_source.html#l00741">xxxTrackInitSize()</a>.</p>

</div>
</div>
<a id="ac6d261d53f1b8bdcd4467f5bc1072066"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6d261d53f1b8bdcd4467f5bc1072066">&#9670;&nbsp;</a></span>_IsChild()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL _IsChild </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwndParent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00658">658</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;                                                   {</div>
<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;        pItem = &amp;((<a class="code" href="a00365.html#ab0258112d5896d2fea97153725ae601f">PITEM</a>)REBASEALWAYS(pMenu, rgItems))[nPos];</div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;        <span class="keywordflow">if</span> (pItem-&gt;spSubMenu != NULL)</div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;            pPopup = (<a class="code" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a>)REBASEPTR(pMenu, pItem-&gt;spSubMenu);</div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160; </div>
<div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;    }</div>
<div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160; </div>
<div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;    <span class="keywordflow">return</span> (PVOID)pPopup;</div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;}</div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160; </div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160; </div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160; </div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00365_source.html#l01962">tagITEM::spSubMenu</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00815_source.html#l00051">_SelectPalette()</a>, <a class="el" href="a03641_source.html#l00100">CheckPwndFilter()</a>, <a class="el" href="a00053_source.html#l00076">ComboBoxWndProcWorker()</a>, <a class="el" href="a00101_source.html#l00446">DefDlgProcWorker()</a>, <a class="el" href="a03743_source.html#l00622">IsChild()</a>, <a class="el" href="a00104_source.html#l00257">IsDialogMessageW()</a> , 以及 <a class="el" href="a00785_source.html#l00466">xxxMNLoop()</a>.</p>

</div>
</div>
<a id="a947b12ae4cee30f52317573ebbe2488f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a947b12ae4cee30f52317573ebbe2488f">&#9670;&nbsp;</a></span>_IsWindowVisible()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL _IsWindowVisible </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00692">692</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;{</div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a00125_source.html#l01945">ECResetTextInfo()</a>, <a class="el" href="a03743_source.html#l00665">IsWindowVisible()</a>, <a class="el" href="a00128_source.html#l00716">MLChangeSelection()</a>, <a class="el" href="a00128_source.html#l01093">MLDeleteText()</a>, <a class="el" href="a00128_source.html#l03002">MLEditWndProc()</a>, <a class="el" href="a00128_source.html#l02924">MLEnsureCaretVisible()</a>, <a class="el" href="a00128_source.html#l00837">MLInsertText()</a>, <a class="el" href="a00128_source.html#l02864">MLKillFocus()</a>, <a class="el" href="a00128_source.html#l02569">MLScroll()</a>, <a class="el" href="a00128_source.html#l00240">MLSetCaretPosition()</a>, <a class="el" href="a00128_source.html#l02805">MLSetFocus()</a>, <a class="el" href="a00131_source.html#l00278">SLChangeSelection()</a>, <a class="el" href="a00131_source.html#l00363">SLDrawLine()</a>, <a class="el" href="a00131_source.html#l00561">SLDrawText()</a>, <a class="el" href="a00131_source.html#l02120">SLEditWndProc()</a>, <a class="el" href="a00131_source.html#l01864">SLPaint()</a>, <a class="el" href="a00131_source.html#l00993">SLReplaceSel()</a> , 以及 <a class="el" href="a00671_source.html#l00763">xxxDWPPrint()</a>.</p>

</div>
</div>
<a id="a76a779f43c6f191cc7b24e787ac3c824"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76a779f43c6f191cc7b24e787ac3c824">&#9670;&nbsp;</a></span>_ScreenToClient()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL _ScreenToClient </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PPOINT&#160;</td>
          <td class="paramname"><em>ppt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00812">812</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;         :</div>
<div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;* 26-Oct-1990 DarrinM   Implemented.</div>
<div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;\***************************************************************************/</div>
<div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160; </div>
<div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;BOOL <a class="code" href="a03752.html#adaba75126494f33137e8ceab85dc13fd">_GetWindowRect</a>(</div>
<div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;    <a class="code" href="a02581.html">PWND</a>   pwnd,</div>
<div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160;    LPRECT prc)</div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a00200_source.html#l02149">ChildMinMaxInfo()</a>, <a class="el" href="a00053_source.html#l00076">ComboBoxWndProcWorker()</a>, <a class="el" href="a00176_source.html#l00032">ListBoxWndProcWorker()</a>, <a class="el" href="a03743_source.html#l00784">ScreenToClient()</a>, <a class="el" href="a00800_source.html#l01392">xxxDrawDragRect()</a> , 以及 <a class="el" href="a00659_source.html#l00224">xxxQueryDropObject()</a>.</p>

</div>
</div>
<a id="a026fe41511bfcaaa930e906577c297d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a026fe41511bfcaaa930e906577c297d5">&#9670;&nbsp;</a></span>GetPrevPwnd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> GetPrevPwnd </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwndList</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwndFind</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00470">470</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;                                  {</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;<span class="comment">         * If the item is a popup, return item count in high byte and</span></div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;<span class="comment">         * popup flags in low byte</span></div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160; </div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;        fFlags = ((fFlags | MF_POPUP) &amp; 0x00FF) +</div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;            (((<a class="code" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a>)REBASEPTR(pMenu, pItem-&gt;spSubMenu))-&gt;cItems &lt;&lt; 8);</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;    }</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160; </div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;    <span class="keywordflow">return</span> fFlags;</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;}</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160; </div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160; </div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160; </div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;<a class="code" href="a02581.html">PWND</a> <a class="code" href="a03752.html#a026fe41511bfcaaa930e906577c297d5">GetPrevPwnd</a>(</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00365_source.html#l01962">tagITEM::spSubMenu</a>.</p>

</div>
</div>
<a id="a84614f49bd39185e6ca3a3ccf5afd248"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84614f49bd39185e6ca3a3ccf5afd248">&#9670;&nbsp;</a></span>HMValidateHandle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PVOID FASTCALL HMValidateHandle </td>
          <td>(</td>
          <td class="paramtype">HANDLE&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BYTE&#160;</td>
          <td class="paramname"><em>bType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00232">232</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;{</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwError;</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160; </div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="preprocessor">#if defined(DEBUG) &amp;&amp; !defined(_USERK_) &amp;&amp; !defined(WOW)</span></div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="comment">     * We don&#39;t want 32 bit apps passing 16 bit handles</span></div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="comment">     *  we should consider failing this before we get</span></div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="comment">     *  stuck supporting it (Some VB apps do this).</span></div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;    <span class="keywordflow">if</span> ((h != NULL)</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;           &amp;&amp; (HMUniqFromHandle(h) == 0)</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;           &amp;&amp; !(GetClientInfo()-&gt;dwTIFlags &amp; TIF_16BIT)) {</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;        <span class="comment">//RIPMSG3(RIP_WARNING, &quot;HMValidateHandle: 32bit process [%d] using 16 bit handle [%#lx]. bType:%#lx&quot;,</span></div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;                <span class="comment">//((DWORD)NtCurrentTeb()-&gt;ClientId.UniqueProcess), h, (DWORD)bType);</span></div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;    }</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160; </div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;<span class="comment">     * Include this macro, which does validation - this is the fastest</span></div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;<span class="comment">     * way to do validation, without the need to pass a third parameter</span></div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;<span class="comment">     * into a general rip routine, and we don&#39;t have two sets of</span></div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;<span class="comment">     * validation to maintain.</span></div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;    <a class="code" href="a03752.html#ac2513158b79e25bdf6af78fd24b74950">ValidateHandleMacro</a>(h, bType)</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160; </div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;    <span class="keywordflow">switch</span> (bType) {</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160; </div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    <span class="keywordflow">case</span> TYPE_WINDOW:</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;        dwError = ERROR_INVALID_WINDOW_HANDLE;</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160; </div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;    <span class="keywordflow">case</span> TYPE_MENU:</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;        dwError = ERROR_INVALID_MENU_HANDLE;</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160; </div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    <span class="keywordflow">case</span> TYPE_CURSOR:</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;        dwError = ERROR_INVALID_CURSOR_HANDLE;</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160; </div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;    <span class="keywordflow">case</span> TYPE_ACCELTABLE:</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;        dwError = ERROR_INVALID_ACCEL_HANDLE;</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        <span class="keywordflow">break</span>;</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00563_source.html#l00175">DWORD</a> , 以及 <a class="el" href="a03752_source.html#l00182">ValidateHandleMacro</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00656_source.html#l01928">_MapDesktopObject()</a>, <a class="el" href="a03173_source.html#l00321">_SetCursorIconData()</a>, <a class="el" href="a00278_source.html#l00518">DestroyInputContext()</a>, <a class="el" href="a00695_source.html#l01043">HMAssignmentLock()</a>, <a class="el" href="a00167_source.html#l01044">ImeIsUsableContext()</a>, <a class="el" href="a00167_source.html#l01004">ImeMarkUsedContext()</a>, <a class="el" href="a00311_source.html#l00570">ImmLockClientImc()</a>, <a class="el" href="a00311_source.html#l00623">ImmUnlockClientImc()</a>, <a class="el" href="a00263_source.html#l00438">IsMenu()</a>, <a class="el" href="a03614_source.html#l02503">NtUserCreateLocalMemHandle()</a>, <a class="el" href="a00902_source.html#l00141">ValidateHmenu()</a>, <a class="el" href="a03743_source.html#l00154">ValidateHwnd()</a>, <a class="el" href="a00872_source.html#l00593">xxxCalcValidRects()</a>, <a class="el" href="a00632_source.html#l01547">xxxGetDummyPalette()</a>, <a class="el" href="a00659_source.html#l00224">xxxQueryDropObject()</a> , 以及 <a class="el" href="a00623_source.html#l01211">xxxSetClassData()</a>.</p>

</div>
</div>
<a id="af99b53fa5d4f19dbabbed9d750e365ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af99b53fa5d4f19dbabbed9d750e365ef">&#9670;&nbsp;</a></span>HMValidateHandleNoRip()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PVOID FASTCALL HMValidateHandleNoRip </td>
          <td>(</td>
          <td class="paramtype">HANDLE&#160;</td>
          <td class="paramname"><em>h</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BYTE&#160;</td>
          <td class="paramname"><em>bType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00303">303</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;                          :</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        dwError = ERROR_INVALID_DWP_HANDLE;</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160; </div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;    <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;        dwError = ERROR_INVALID_HANDLE;</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;    }</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160; </div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;    <a class="code" href="a00371.html#adbdd8355d15a97b6f3a9e4766e6a2cc1">RIPERR1</a>(dwError,</div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a00647_source.html#l00110">_CsDdeUninitialize()</a>, <a class="el" href="a00647_source.html#l00088">_CsUpdateInstance()</a>, <a class="el" href="a00623_source.html#l00080">_RegisterClassEx()</a>, <a class="el" href="a03611_source.html#l00827">_SetWindowLong()</a>, <a class="el" href="a00701_source.html#l00335">_SetWindowsHookEx()</a>, <a class="el" href="a00041_source.html#l01230">CallWindowProcAorW()</a>, <a class="el" href="a00671_source.html#l00949">DestroyWindowSmIcon()</a>, <a class="el" href="a00890_source.html#l00648">DrawIconCallBack()</a>, <a class="el" href="a00671_source.html#l00904">DWP_GetIcon()</a>, <a class="el" href="a00233_source.html#l00088">ProcessRegistrationMessage()</a>, <a class="el" href="a00773_source.html#l00606">RealDrawMenuItem()</a>, <a class="el" href="a00632_source.html#l00643">UT_FreeCBFormat()</a>, <a class="el" href="a00623_source.html#l00177">ValidateAndLockCursor()</a>, <a class="el" href="a03743_source.html#l00173">ValidateHwndNoRip()</a>, <a class="el" href="a00872_source.html#l00365">ValidateSmwp()</a>, <a class="el" href="a00671_source.html#l01105">xxxCreateWindowSmIcon()</a>, <a class="el" href="a03188_source.html#l00553">xxxDDETrackGetMessageHook()</a>, <a class="el" href="a00656_source.html#l00499">xxxDesktopWndProc()</a>, <a class="el" href="a00671_source.html#l00991">xxxDWP_SetIcon()</a>, <a class="el" href="a00872_source.html#l04010">xxxEndDeferWindowPosEx()</a>, <a class="el" href="a00632_source.html#l01347">xxxGetDummyBitmap()</a>, <a class="el" href="a00614_source.html#l00216">xxxGetWindowSmIcon()</a>, <a class="el" href="a00890_source.html#l00780">xxxPaintIconsInSwitchWindow()</a>, <a class="el" href="a00623_source.html#l01211">xxxSetClassData()</a>, <a class="el" href="a03242_source.html#l00392">xxxSetWindowData()</a> , 以及 <a class="el" href="a03665_source.html#l00678">xxxWrapCallWindowProc()</a>.</p>

</div>
</div>
<a id="a600b2eecb3e014ccef3cbdb2b38209b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a600b2eecb3e014ccef3cbdb2b38209b5">&#9670;&nbsp;</a></span>MNLookUpItem()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00365.html#ab0258112d5896d2fea97153725ae601f">PITEM</a> MNLookUpItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a>&#160;</td>
          <td class="paramname"><em>pMenu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>wCmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>fByPosition</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a> *&#160;</td>
          <td class="paramname"><em>ppMenuItemIsOn</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03752_source.html">rtl/wow.c</a> 第 <a class="el" href="a03752_source.html#l00334">334</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;{</div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;    <a class="code" href="a02621.html">PITEM</a> pItem;</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    <a class="code" href="a02621.html">PITEM</a> pItemRet = NULL;</div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;    <a class="code" href="a02621.html">PITEM</a>  pItemMaybe;</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;    <a class="code" href="a02625.html">PMENU</a>   pMenuMaybe = NULL;</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;    <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160; </div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;    <span class="keywordflow">if</span> (ppMenuItemIsOn != NULL)</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;        *ppMenuItemIsOn = NULL;</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160; </div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;    <span class="keywordflow">if</span> (pMenu == NULL || !pMenu-&gt;<a class="code" href="a02625.html#a3bf37b161e5822f38a2b0bc722c5ac50">cItems</a> || wCmd == MFMWFP_NOITEM) {</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;<span class="comment">//      RIPERR0(ERROR_INVALID_PARAMETER, RIP_WARNING, &quot;MNLookUpItem: invalid item&quot;);</span></div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;        <span class="keywordflow">return</span> NULL;</div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;    }</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160; </div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;<span class="comment">     * dwFlags determines how we do the search</span></div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;    <span class="keywordflow">if</span> (fByPosition) {</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;        <span class="keywordflow">if</span> (wCmd &lt; (<a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>)pMenu-&gt;<a class="code" href="a02625.html#a3bf37b161e5822f38a2b0bc722c5ac50">cItems</a>) {</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;            pItemRet = &amp;((<a class="code" href="a00365.html#ab0258112d5896d2fea97153725ae601f">PITEM</a>)REBASEALWAYS(pMenu, rgItems))[wCmd];</div>
<div class="line"><a name="l00384"></a><span class="lineno">  384</span>&#160;            <span class="keywordflow">if</span> (ppMenuItemIsOn != NULL)</div>
<div class="line"><a name="l00385"></a><span class="lineno">  385</span>&#160;                *ppMenuItemIsOn = pMenu;</div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;            <span class="keywordflow">return</span> (pItemRet);</div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;        } <span class="keywordflow">else</span></div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;            <span class="keywordflow">return</span> NULL;</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;    }</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;<span class="comment">     * Walk down the menu and try to find an item with an ID of wCmd.</span></div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;<span class="comment">     * The search procedes from the end of the menu (as was done in</span></div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;<span class="comment">     * assembler).</span></div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160; </div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;<span class="comment">/* this is the Chicago code, which walks from the front of the menu -- Fritz */</span></div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160; </div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160; </div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;<span class="comment">//        for (pItem = &amp;pMenu-&gt;rgItems[i - 1]; pItemRet == NULL &amp;&amp; i--; --pItem) {</span></div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    <span class="keywordflow">for</span> (i = 0, pItem = REBASEALWAYS(pMenu, rgItems); i &lt; (int)pMenu-&gt;<a class="code" href="a02625.html#a3bf37b161e5822f38a2b0bc722c5ac50">cItems</a>;</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;            i++, pItem++) {</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160; </div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;<span class="comment">         * If the item is a popup, recurse down the tree</span></div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;        <span class="keywordflow">if</span> (pItem-&gt;<a class="code" href="a02621.html#ac10ce08286532c51caca752ec8eb7e99">spSubMenu</a> != NULL) {</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;        <span class="comment">// COMPAT:</span></div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;        <span class="comment">// Allow apps to pass in menu handle as ID in menu APIs.  We</span></div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;        <span class="comment">// remember that this popup had a menu handle with the same ID</span></div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;        <span class="comment">// value.  This is a 2nd choice though.  We still want to see</span></div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;        <span class="comment">// if there&#39;s some actual command that has this ID value first.</span></div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;        <span class="comment">//</span></div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;            <span class="keywordflow">if</span> (pItem-&gt;<a class="code" href="a02621.html#a549e2c4984de0719485737b35d6fc4b1">wID</a> == wCmd) {</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;                pMenuMaybe = pMenu;</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;                pItemMaybe = pItem;</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;            }</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160; </div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;            pItemRet = <a class="code" href="a03752.html#a600b2eecb3e014ccef3cbdb2b38209b5">MNLookUpItem</a>((<a class="code" href="a02625.html">PMENU</a>)REBASEPTR(pMenu, pItem-&gt;<a class="code" href="a02621.html#ac10ce08286532c51caca752ec8eb7e99">spSubMenu</a>),</div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a00797_source.html#l00417">_CheckMenuRadioItem()</a>, <a class="el" href="a00764_source.html#l00161">_InsertMenuItem()</a>, <a class="el" href="a03599_source.html#l00078">_MNCanClose()</a>, <a class="el" href="a00797_source.html#l00466">_SetMenuDefaultItem()</a>, <a class="el" href="a00764_source.html#l00062">_SetMenuItemInfo()</a>, <a class="el" href="a00203_source.html#l00031">CheckMenuItem()</a>, <a class="el" href="a03743_source.html#l00807">EnableMenuItem()</a>, <a class="el" href="a00797_source.html#l00321">MenuItemState()</a>, <a class="el" href="a00764_source.html#l00488">RemoveDeleteMenuHelper()</a>, <a class="el" href="a00758_source.html#l00086">UT_FindTopLevelMenuIndex()</a> , 以及 <a class="el" href="a00758_source.html#l00147">xxxTA_AccelerateMenu()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa03752_html_a373eb8782e10ebad75e466db8d01ebe0"><div class="ttname"><a href="a03752.html#a373eb8782e10ebad75e466db8d01ebe0">_GetClientRect</a></div><div class="ttdeci">BOOL _GetClientRect(PWND pwnd, LPRECT prc)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00745">rtl/wow.c:745</a></div></div>
<div class="ttc" id="aa02621_html"><div class="ttname"><a href="a02621.html">tagITEM</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01958">user.h:1958</a></div></div>
<div class="ttc" id="aa00365_html_af18dd4dd192e00a176acc4dc89084f34"><div class="ttname"><a href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a></div><div class="ttdeci">struct tagMENU * PMENU</div></div>
<div class="ttc" id="aa00371_html_ad6b24a3d61abdc148c8751b5c5add686"><div class="ttname"><a href="a00371.html#ad6b24a3d61abdc148c8751b5c5add686">RIP_VERBOSE</a></div><div class="ttdeci">#define RIP_VERBOSE</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00030">winerrp.h:30</a></div></div>
<div class="ttc" id="aa02581_html_af729b7de7a8fb84b70b70c4b401ce789"><div class="ttname"><a href="a02581.html#af729b7de7a8fb84b70b70c4b401ce789">tagWND::spwndNext</a></div><div class="ttdeci">struct tagWND * spwndNext</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01391">user.h:1391</a></div></div>
<div class="ttc" id="aa00371_html_ae61d954062a9ece52e350e54cad9a23d"><div class="ttname"><a href="a00371.html#ae61d954062a9ece52e350e54cad9a23d">RIPERR0</a></div><div class="ttdeci">#define RIPERR0(idErr, flags, szFmt)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00119">winerrp.h:119</a></div></div>
<div class="ttc" id="aa00362_html_a5faa2257365c8afc643c6488dc44f618"><div class="ttname"><a href="a00362.html#a5faa2257365c8afc643c6488dc44f618">NtUserCallOneParam</a></div><div class="ttdeci">DWORD NtUserCallOneParam(IN DWORD dwParam, IN DWORD xpfnProc)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l03249">kernel/ntstubs.c:3249</a></div></div>
<div class="ttc" id="aa02625_html_a3bf37b161e5822f38a2b0bc722c5ac50"><div class="ttname"><a href="a02625.html#a3bf37b161e5822f38a2b0bc722c5ac50">tagMENU::cItems</a></div><div class="ttdeci">UINT cItems</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l02000">user.h:2000</a></div></div>
<div class="ttc" id="aa00365_html_ab0258112d5896d2fea97153725ae601f"><div class="ttname"><a href="a00365.html#ab0258112d5896d2fea97153725ae601f">PITEM</a></div><div class="ttdeci">struct tagITEM * PITEM</div></div>
<div class="ttc" id="aa03752_html_a976181f00e2ce3d0df4b770ea93f8443"><div class="ttname"><a href="a03752.html#a976181f00e2ce3d0df4b770ea93f8443">_GetWindow</a></div><div class="ttdeci">PWND _GetWindow(PWND pwnd, UINT cmd)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00507">rtl/wow.c:507</a></div></div>
<div class="ttc" id="aa02625_html"><div class="ttname"><a href="a02625.html">tagMENU</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01992">user.h:1992</a></div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa02621_html_ac10ce08286532c51caca752ec8eb7e99"><div class="ttname"><a href="a02621.html#ac10ce08286532c51caca752ec8eb7e99">tagITEM::spSubMenu</a></div><div class="ttdeci">struct tagMENU * spSubMenu</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01962">user.h:1962</a></div></div>
<div class="ttc" id="aa02581_html"><div class="ttname"><a href="a02581.html">tagWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01388">user.h:1388</a></div></div>
<div class="ttc" id="aa03752_html_aaf2526934d05c7caafc5e718e432ec3a"><div class="ttname"><a href="a03752.html#aaf2526934d05c7caafc5e718e432ec3a">_GetMenuState</a></div><div class="ttdeci">UINT _GetMenuState(PMENU pMenu, UINT wId, UINT dwFlags)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00431">rtl/wow.c:431</a></div></div>
<div class="ttc" id="aa02581_html_a6053af0b243b6737640988eb63081de3"><div class="ttname"><a href="a02581.html#a6053af0b243b6737640988eb63081de3">tagWND::spwndParent</a></div><div class="ttdeci">struct tagWND * spwndParent</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01392">user.h:1392</a></div></div>
<div class="ttc" id="aa02621_html_a549e2c4984de0719485737b35d6fc4b1"><div class="ttname"><a href="a02621.html#a549e2c4984de0719485737b35d6fc4b1">tagITEM::wID</a></div><div class="ttdeci">UINT wID</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01961">user.h:1961</a></div></div>
<div class="ttc" id="aa03752_html_a026fe41511bfcaaa930e906577c297d5"><div class="ttname"><a href="a03752.html#a026fe41511bfcaaa930e906577c297d5">GetPrevPwnd</a></div><div class="ttdeci">PWND GetPrevPwnd(PWND pwndList, PWND pwndFind)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00470">rtl/wow.c:470</a></div></div>
<div class="ttc" id="aa03608_html_afd1a0e78d1f88954d93e48ab3821781f"><div class="ttname"><a href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a></div><div class="ttdeci">typedef UINT(FAR WINAPI *MSGSOUNDPROC)()</div></div>
<div class="ttc" id="aa03752_html_adaba75126494f33137e8ceab85dc13fd"><div class="ttname"><a href="a03752.html#adaba75126494f33137e8ceab85dc13fd">_GetWindowRect</a></div><div class="ttdeci">BOOL _GetWindowRect(PWND pwnd, LPRECT prc)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00794">rtl/wow.c:794</a></div></div>
<div class="ttc" id="aa00371_html_adbdd8355d15a97b6f3a9e4766e6a2cc1"><div class="ttname"><a href="a00371.html#adbdd8355d15a97b6f3a9e4766e6a2cc1">RIPERR1</a></div><div class="ttdeci">#define RIPERR1(idErr, flags, szFmt, p1)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00120">winerrp.h:120</a></div></div>
<div class="ttc" id="aa00263_html_af0277284ad14b2b685eb0dcb1f506323"><div class="ttname"><a href="a00263.html#af0277284ad14b2b685eb0dcb1f506323">GetAppCompatFlags</a></div><div class="ttdeci">DWORD GetAppCompatFlags(PTHREADINFO pti)</div><div class="ttdef"><b>Definition:</b> <a href="a00263_source.html#l00457">winmgrc.c:457</a></div></div>
<div class="ttc" id="aa03752_html_a9adcce0ae7f3f1108645323a0d2be59d"><div class="ttname"><a href="a03752.html#a9adcce0ae7f3f1108645323a0d2be59d">_ClientToScreen</a></div><div class="ttdeci">BOOL _ClientToScreen(PWND pwnd, PPOINT ppt)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00725">rtl/wow.c:725</a></div></div>
<div class="ttc" id="aa02581_html_a17d59d04094aef8b577c0aa781cdf2c6"><div class="ttname"><a href="a02581.html#a17d59d04094aef8b577c0aa781cdf2c6">tagWND::rcClient</a></div><div class="ttdeci">RECT rcClient</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01399">user.h:1399</a></div></div>
<div class="ttc" id="aa03752_html_a600b2eecb3e014ccef3cbdb2b38209b5"><div class="ttname"><a href="a03752.html#a600b2eecb3e014ccef3cbdb2b38209b5">MNLookUpItem</a></div><div class="ttdeci">PITEM MNLookUpItem(PMENU pMenu, UINT wCmd, BOOL fByPosition, PMENU *ppMenuItemIsOn)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00334">rtl/wow.c:334</a></div></div>
<div class="ttc" id="aa03752_html_ac2513158b79e25bdf6af78fd24b74950"><div class="ttname"><a href="a03752.html#ac2513158b79e25bdf6af78fd24b74950">ValidateHandleMacro</a></div><div class="ttdeci">#define ValidateHandleMacro(h, bType)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00182">rtl/wow.c:182</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_d1396aa20fcbba3cbb80fda211a2145f.html">rtl</a></li><li class="navelem"><a class="el" href="a03752.html">wow.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
